import { BaseModel, column } from '@adonisjs/lucid/orm'

export default class CardRight extends BaseModel {
  @column()
  declare name: string

  @column()
  declare discount: number

  @column()
  declare storeAmount: number

  @column()
  declare giftAmount: number

  @column()
  declare salePrice: number

  @column()
  declare minPrice: number

  @column()
  declare expNum: number

  @column()
  declare expType: number

  @column()
  declare expUnit: 'year' | 'month' | 'day'

  @column()
  declare status: number

  @column()
  declare memo: string
}
